export type fetchOptionsType = {
  key: string;
  headers?: object;
  method: "GET" | "POST";
  body?: any;
  lazy?: boolean;
  initialCache?: boolean;
  transform?: <T = any>(arg: T) => T;
};

export type fetchDataType = {
  data: any;
  error: any;
  pending: any;
  refresh: any;
};

export type ImgItemType = {
  src: string;
  url?: string;
};

export interface ImgType {
  data: ImgItemType[];
}

export interface SearchType {
  keyword: string;
  page: number | string;
  type: string;
}
